package com.xywl.escort.view.message;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.MessageResp;

/**
 * Created by 32422 on 2018/3/7.
 */

public interface MessageContract {

    interface Presenter extends BasePresenter {
        void takeView(MessageContract.View view);

        void loadMessage(String userId, int pageNum);
    }

    interface View extends BaseView<Presenter> {
        void updateMessage(MessageResp.DataBean resp);

        void loadMessageFailure(String msg);
    }
}
